package com.hxy.health.platform.service;

import com.github.pagehelper.PageInfo;
import com.hxy.health.platform.pojo.Product;

import java.util.List;

public interface ProductService {
    PageInfo<Product> getAll(Integer pageSize, Integer pageNum);

    Product getById(Integer id);

    List<Product> getNewProduct();

    PageInfo<Product> searchProduct(Integer pageSize, Integer pageNum, String productName);
}
